API Invalid Credentials
Issue #39
invalid
When trying to send a request to api.vatusa.net/[API key]/[request], a 401 error is returned. Our IP address has been set.
-Blake Nahin, 1275302
Comments (7)
-
-
reporter The set IP matches what is returned from ping and the DNS record.
-
reporter Maybe it has something to do with our shared hosting?
-
Ya that's incoming... You need to determine what IP is being used by the server for outgoing connections. Sometimes they are different than the IP assigned to your website.
-
- changed status to invalid
User authentication error, not VATUSA bug
-
reporter It appears that the IP address for outgoing connections is the same.
-
401 errors are ONLY returned if API or the IP checks fail. There is no other time a 401 error is returned.
- Log in to comment
That means the IP your server is sending connections from doesn't match the IP it's expecting a connection from