5
Teosz
3y

I am trying to implement an API. It has a very good documentation, everything is written clear and simple, along with

- HTTP 401 on unauthorized request and
- Error codes from 1-35 with definitions

Opened the provided sample file, changed the username, password and client code fields to our own in the source, then tried the request. The Response:

HTTP 200
{"ErrorCode":-1,"ErrorDescription":"Unauthorized."}

Well, thank you very much! 🤬

Comments
  • 0
    Btw, after trying their XML version, changing my password (in case around 27 chars might be too long), checking the C# sample as well (I don't even code in C#), trying out in different environments, and checked our contract, whether it includes API access, I've contacted their support.

    After confirming the credentials (without the password of course), they said, it "should be working, the problem is not on our end".
  • 0
    Http 200

    ...

    Error code.

    Okay. I'm for bloody murder. Get the pitch forks and the molotov cocktails, time to sanctify some devs.
Add Comment