Payments Scheme
Troubleshooting

Error Codes

Understand Swift API error codes and how to resolve them

If you have questions or issues related to an API service in the Pilot or Live environments, please contact the Swift Customer Support Center.

Swift uses industry-best practices to handle errors. You can expect three outcomes when interacting with our APIs:

2XX - Success

The request was processed successfully.

4XX - Client Error

An error due to information provided by the client application.

5XX - Server Error

An error with the API provider.

Swift API error codes

Here are the errors you may encounter when calling the Swift APIs.

Errors are categorized as either Fatal or Transient. Transient errors may resolve on retry.

Status CodeReason PhraseSeveritySwAP CodeRecommendations
400Bad RequestFatalSwAP5xxMake sure the API request conforms to the OpenAPI specification.
400UnavailableFatalSwAP522Make sure the x-bic provided is valid.
401UnauthorizedFatalSwAP50XMake sure the access token provided is valid, and the API resource exists.
403ForbiddenFatalSwAP503Make sure the correct access token is used for the API call.
404Not FoundFatalSwAP506Make sure the resource URL is correctly defined as in the OpenAPI specification.
429Too Many RequestsTransientSwAP507Refer to Rate Limit and try again.
503Service UnavailableTransientSwAP590The API response arrived late. Try again, if the error persists, contact Swift Customer Support.
503Temporarily UnavailableTransientSwAP599Try again. If the error persists, contact Swift Customer Support.
504Gateway TimeoutTransientSwAP591The API provider cannot be reached. Contact Swift Customer Support.

On this page