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

Train request- Error 1002 #33

Open
puN1ka opened this issue Jun 14, 2019 · 7 comments
Open

Train request- Error 1002 #33

puN1ka opened this issue Jun 14, 2019 · 7 comments

Comments

@puN1ka
Copy link

puN1ka commented Jun 14, 2019

Hello everybody,

i recently got access to the Microsoft Form Recognizer Preview. After setting up a Form Recognizer Ressource and a Blob Storage Container, i put together a train request according to the Quickstart Documentation. Dispatching my request always leads me to the Error Code 1002 like this:

$ error":{"code":"1002","message":"Train request is either invalid or missing required parameters. Please reference the API reference and retry your request."}}

I already added 5 documents of the same type to my Blob Storage and followed the steps of the Quickstart guide very precisely. After i repeated this process for a few times and always obtained the same result, i dont know what to do.

I would be very glad if someone could help me with this issue. Thank you in advance.

Cheers
puN1ka

@anamariamocanu
Copy link

@puN1ka I am getting the same error - did you find a solution?

@simonstewart
Copy link

Same issue. I've tried the following:

  • recreating the Form-recognizer resources twice
  • various renamings of the training data files
  • Postman & cURL

All result in the same code 1002 error.

@anamariamocanu
Copy link

I got this 1002 error twice - once I think it was because the prediction set was a bit different than training, and another time I didn't specify the right format. I can see it working for some other files I have, but I sometimes get the result in a different encoding that I don't really know how to fix.

@noahamolot
Copy link

noahamolot commented Apr 4, 2020

Got around this issue by creating the SAS key at the storage level...i.e. Storage accounts, choose your storage > settings > shared access signature > generate. Also, be sure to copy all the parameters not just the sig as they are all need to match what.

1
2

@aminpatel236
Copy link

I am getting the same issue with Form Recogniser Train Custom Model.

Can anyone here clearly point towards the solution.

Thanks,
Amin Patel

@nsksaisaravana
Copy link

I am also getting the same error on the postman, i don't know why no one is responding.

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

7 participants