diPhantxm/ozon-api-client

CreateOrUpdateProduct request receive "414 Request-URI Too Large" error

Closed this issue · 7 comments

CreateOrUpdateProduct request receive "414 Request-URI Too Large" error

can't upload picture...

Hi!
Thank your for your issue. I'll check and respond

If this line is commented out, this error will not be reported.
client.go - line 69:
httpReq.URL.RawQuery = rawQuery

RawQuery too large maybe ...

If this line is commented out, this error will not be reported. client.go - line 69: httpReq.URL.RawQuery = rawQuery

Seems like default value feature was implemented incorrectly. It adds default values into query parameters instead of replacing values in body of the request
I temporarily removed this feature until I fix it. You can go get last commit from this repo to escape this error

I reimplemented this feature. Seems working. If you meet another bug, please feel free to reopen this issue