SAP Knowledge Base Article - Preview

3240175 - 'Invalid resource url' error in SAP API Management

Symptom

When you are trying to deploy an API in API Management, you are getting the error 'Unable to Update API' with the following error details:

In API Logs, you can see the following error:

  • Failed to load resource: the server responded with a status of 400 (Bad Request)Log-dbg.js:000 2022-04-04 12:00:00.000000 The following problem occurred: HTTP request failed400,Bad Request,{"error":{"code":"API_PROXY_DEPLOY_ERROR","message":{"lang":"en","value":"Invalid resource url ref jsc://maincode.js in policy CustomScript in riz-innovation"}}}


Read more...

Environment

  • SAP API Management - Cloud
  • SAP API Business Hub

Product

API Management all versions ; SAP Business Technology Platform all versions

Keywords

API, Management, On, Demand, SAP, Cloud, Platform, Operations, Security, Providers, Provider, OPU, API, Marketing, Analytics, Key, Value, Maps, Mapping, Map, Cloud, Foundry, NEO, Unable, API, Security, Policy, Script, JavaScript , KBA , OPU-API-OD-DT , Designtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.