The name of my app - Invoice Reader
A description of the problem - Our website has been reading from the
FreeAgent API quite happily for over a year (allowing customers to view and
update billing info) but just yesterday, all requests started coming back
as “resource not found”. I turned on full debugging, which has produced
the following information:
-
About to connect() to api.freeagent.com http://api.freeagent.com/
port 443 (#0) -
Trying 213.129.77.178…
-
Connected to api.freeagent.com http://api.freeagent.com/
(213.129.77.178) port 443 (#0) -
Initializing NSS with certpath: sql:/etc/pki/nssdb
-
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
-
SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA
-
Server certificate:
-
subject: CN=a.ssl.freeagent.com http://a.ssl.freeagent.com/,O=FreeAgent
Central Ltd.,L=Edinburgh,ST=City of Edinburgh,C=GB -
start date: Nov 17 00:00:00 2014 GMT
-
expire date: Nov 21 12:00:00 2017 GMT
-
common name: a.ssl.freeagent.com http://a.ssl.freeagent.com/
-
issuer: CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US
> GET /v2/contacts?per_page=100 HTTP/1.1
User-Agent: Lawford Education Ltd
Host: api.freeagent.com http://api.freeagent.com/
Accept: /
Content-length: 0
Content-type: application/json
Authorization: OAuth {HIDDEN}
< HTTP/1.1 404 Not Found
< Server: nginx
< Date: Fri, 09 Oct 2015 14:32:02 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Status: 404 Not Found
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: DELETE, GET, HEAD, OPTIONS, POST, PUT
< Access-Control-Allow-Headers: Accept, Authorization, Content-Type
< Access-Control-Expose-Headers: Link
< Access-Control-Max-Age: 1728000
< Cache-Control: no-cache
< X-Request-Id: 5249aa70-1c16-4d2b-95fa-13d4466b97d9
< X-Rev: 0fe60a
< X-Host: web6-ash
< X-Runtime: 0.082813
< Set-Cookie: uid=1YFNslYXz+KAK2UmKouZAg==; expires=Sat, 08-Oct-16
14:32:02 GMT; domain=.freeagent.com http://freeagent.com/; path=/
<
- Connection #0 to host api.freeagent.com http://api.freeagent.com/
left intact
This request was sent to the freeagent production environment.
Can anyone let me know what might be the cause and if so, how do I fix it?
The request was sent using PHP (I don’t know if that makes a difference)
Many thanks in advance,
Tim