Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FbaInboundV0 : Response from getShipments throws attribute validation error "invalid length for $city when calling Address" #704

Closed
ajit-t-dev opened this issue May 2, 2024 · 3 comments

Comments

@ajit-t-dev
Copy link

Problem description:

When calling getShipments method of FbaInboundV0, the error given below is thrown. This occurs for .com marketplace. There is a validation set for 30 characters for the attribute city in Address class which is causing this error.

Error:

invalid length for $city when calling Address., must be smaller than or equal to 30.

Code

$response = $this->service->getShipments($queryType, $marketplace, $status, $shipmentIds, $dataStartTime, $dataEndTime, $nextToken)

@Inbasecom
Copy link
Contributor

This is certainly the old problem that has now been added.
#219

@jlevers
Copy link
Owner

jlevers commented Jun 10, 2024

@ajit-t-dev are you using v5 or v6? There's no length validation in v6. Not sure how that bug ended up back in v5, though, sorry.

@jlevers
Copy link
Owner

jlevers commented Aug 5, 2024

I'm going to close this since I haven't heard back from you. If you want to make a PR to the v5.0 branch to fix this, I'm happy to merge it.

@jlevers jlevers closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants