SAP Knowledge Base Article - Public

3359307 - Error 401 - Unauthorized While Trying to Create Entries Through Web Wervice


You are executing a payload to create entries in the system via web service, however you receive the error 401.


SAP Business ByDesign.

Reproducing the Issue

  1. Go to the Application and User Management work center.
  2. Then go to the view of Communication Arrangements.
  3. Download the WSDL.
  4. Open the WSDL in the software to execute web services.
  5. Maintain the user credentials.
  6. Maintain the payload with the entries to be created.
  7. Execute.
  8. Error 401 appears.


The 401 means that the action got Unauthorized, so this status code indicates that the request has not been applied because it lacks valid authentication credentials. One possible cause might be related to a missing configuration from this Communication Arrangement, where let's say you are trying to create a Supplier Invoice via managersupplierinvoicein, however you did not maintain the managersupplierinvoicein in the Communication Arrangement.


To solve this error you can either Edit or create a Communication Arrangement for the required service (e.g managersupplierinvoicein) by assigning required Technical User (Communication Arrangemente User).

See Also

3320469 - Error 'Logon Error Message' When Executing Inbound Payload to SAP Business ByDesign


Error, 401, Unauthorized, web service, Application and User Management work center, Communication Arrangements. , KBA , SRD-CC-IAM , Identity & Access Management , AP-RC-CEC-B2B , ByD On-Demand Cloud-Process Integration B2B , How To


SAP Business ByDesign all versions