API down?

#1
15/02/2014 03:59

Joel Richards

Member
I've been trying to use the API all down and I'm getting various errors...

- Timeouts
- 404s on image urls returned on createProduct response
- 500 errors

Also the create product functionality doesn't seem to work on the site at the moment, files just fail to upload..

Are there some issues at the moment?

Thanks!
#2
15/02/2014 04:36

Joel Richards

Member
Also getting responses like:

<response>
<success>
<orderID></orderID>
<price></price>
<priceShipping></priceShipping>
<tax></tax>
</success>
</response>

doesn't look like a <success> response to me ;)
#3
15/02/2014 10:57
Avatar

Andrew Lyle

Administrator
Hi Joel,

The url's are case sensitive, so make sure you are using "CreateProduct" and not "createProduct".

As for the failure of the success message, i'll look into the logs once we are back in the office and see what happened there.

Thanks,
Andrew

Developer / Project Manager
Tshirtgang.com
Support Tickets
Twitter: @phpandrew
#4
18/02/2014 09:39

Joel Richards

Member
Oh also to follow this up, The problem I was having with this was I was wrapping the order request with <Orders> which of course wasn't in the spec. Problem solved!
#5
18/02/2014 13:31
Avatar

Andrew Lyle

Administrator
QUOTE:
Oh also to follow this up, The problem I was having with this was I was wrapping the order request with <Orders> which of course wasn't in the spec. Problem solved!

Excellent! Although I should be filtering that out. Thanks for letting me know.

Developer / Project Manager
Tshirtgang.com
Support Tickets
Twitter: @phpandrew

You must be logged in to reply.