cancel
Showing results for 
Search instead for 
Did you mean: 

API Resource name for MarketingPermissions exceeds 255 characters.

dipsanmihaiaure
Explorer
0 Kudos

Hello,

I am trying to copy the API_MKT_CONTACT_SRV from SAP API Business Hub into my SAP API Management subaccount so that I can call this Marketing Cloud API from API Management.

However I always receive the following error message:

API Resource name for MarketingPermissions(ContactID\u003d\u0027{ContactID}\u0027,ContactOrigin\u003d\u0027{ContactOrigin}\u0027,ContactPermissionID\u003d\u0027{ContactPermissionID}\u0027,ContactPermissionOrigin\u003d\u0027{ContactPermissionOrigin}\u0027,MarketingArea\u003d\u0027{MarketingArea}\u0027,CommunicationMedium\u003d\u0027{CommunicationMedium}\u0027,CommunicationCategory\u003d\u0027{CommunicationCategory}\u0027) exceeds 255 characters. Please contact API Portal Administrator.

Can anyone help me please?

Best Regards,

Mihai

SrihariNerella
Participant
0 Kudos
Hi Dipsan,

How did you resolve this issue. I am also facing entity set length. if it is more than 40 characters then third party front end not able to use it .

Accepted Solutions (0)

Answers (1)

Answers (1)

sumanth171
Active Participant
0 Kudos

We have faced the same issue. You have to set a javascript code in policies to change these kind of entity names.

Read the URI from the incoming URL, in the resource preflow change the name which is less than 40 character and assign the changed URl to target URL.