HTTP Response Codes

Describes how to verify the request data.

The web service returns an HTTP 2xx class response code for a successful request or an HTTP 4xx class (client error) or 5xx class (server error) response code if a request encounters any errors.

  • For an upload request, the call sends formatted data to SAP Fieldglass. The client system receives an HTTP response from SAP Fieldglass, which indicates the success or failure of the upload. The response is sent as soon as it's confirmed that SAP Fieldglass has successfully received the file, but it doesn't indicate the success or failure of processing individual data records.

  • For a download request, SAP Fieldglass sends data back to the client/supplier system.

  • If the response indicates a failure, the return error code indicates the source of the problem. To check data errors, users with the appropriate permissions can sign in to the buyer company within SAP Fieldglass to view the file in the Integration Audit Trail, which provides a record for each individual failed record.

The HTTP response codes are described in the following table. For more information on HTTP response codes, browse to, http://www.ietf.org/assignments/http-status-codes/http-status-codes.xml.

Response Codes for Successful Requests

Success Code

Message

Description

Scope

200

OK

The request was received successfully.

All

Response Codes for Failed Requests

Error Code

Message

Description

Scope

400

Bad Request

This response is returned if any of the following conditions are true:

  • The specified URL is invalid.

  • The request isn't formatted correctly.

  • The request is missing a required field.

 

401

Unauthorized

User/password or application key isn't verified.

Token Request

403

Forbidden

Token isn't verified.

Resource Request

404

Not Found

The service being requested doesn't exist.

All

500

Internal

Service not available.

All