Support

A typical Fleapay API error response

  1. What does a typical Fleapay API error response object look like?
  2. What are the error response codes I can expect?

What does a typical Fleapay API error response object look like?

You can expect a JSON response in the following form.

        
{
	error: {
		type: "key"
		code: "100"
		msg: "That is not a valid api key"
	}
}
    	
    

What are the error response codes I can expect?

  1. code: 000
    message: Unknown error
  2. code: 001
    message: Bad request
  3. code: 100
    message: That is not a valid api key
  4. code: 200
    message: No products available
  5. code: 201
    message: Invalid product
  6. code: 500
    message: Internal Server Error

 

Company

Stay in touch

Get help

Email us