Skip to Content

Can not consume CDS froma Custom Business Object - Marketing Cloud

Hi experts,

I just created an fiori app in SCP - WEB IDE that connects wtih a service (CDS) of a Custom Business Object (CBO) created in Marketing Cloud. The problem is that when I run the applciation (in SCP) the following message appeared:

FAILED TO RETRIEVE METADATA

{ "requestUri": "/S4HC_BO_FaultyAddress/sap/opu/odata/sap/YY1_FAULTYADDRESS_CDS/$metadata", "statusCode": 403, "statusText": "", "headers": [], "body": " /IWFND/CM_CONSUMER/101 http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> /IWFND/CM_CONSUMER/101 xml:lang=\"en\">No authorization to access Service 'YY1_FAULTYADDRESS_CDS_0001' /SAP/ YY1_FAULTYADDRESS_CDS 0001 F1B631EA21110480E005F1BBF20FE430 20200729023757.9793930 For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details See SAP Note 1797736 for error analysis ( https://service.sap.com/sap/support/notes/1797736) >" }

I tried to test the service throguh Postman but is not working, the same error apprears. Also I have tried creating other CBO´s but the error is appearing for any CBO.

I created the scenario, the communication user, the system and arrangement correctly.

Can anyone help me with this?

Thank you in advance.

JD

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 29, 2020 at 05:07 PM

    Hi Juan Cortes ,

    The message states that you have some kind on an access issue. Can you please check that the session is established correctly in Postman before you try to access your service.

    Best Regards,

    Abdullah Amer

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 29, 2020 at 08:07 PM

    Hi Juan,

    that's strange. Try to delete all the cookies in Postman and check again that you have the right user/password combination (but usually in that case I would expect a 401 - unauthorized).

    If it still does not work maybe you could provide some screenshot.

    BR Tobias

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 31, 2020 at 12:00 PM

    Hi Juan Cortes. Can you please tell us which message and error code are you getting in Postman?

    The 403 error that you showed is for not authorized, so you need to double check the credentials for the CBO access. Try to reset the password of the communication user, and check if all the communication system/arrangement and the custom communication scenario is properly configured and published :)

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.