1

I am trying to test my deployed model. I deployed my model successfully See the deploy here.

Then I test the deploy from CLI in the notebook and it works for me Look the test from NoteBook

But when I am trying to test the model from Postman, it returns the next Error:

Error

I appreciate any advice or help

  • Ok this is interesting. It seems your endpoint is producing values like 1. , 2. , 3. etc.... Which in *some* languages means "An Integer but stored as type Float". Reading the RFC for JSON, it seems like this is actually permitted even though it probably shouldnt be, and the curiousconcept (look it up, its your new best friend) json validator (Which likely uses regex's from the spec) accepts it. BUT, Chrome (and thus Postman) does not. Fix that end point to return 1. as 1.0 and that'll fix at least some of the bugginess. Weird little edge case you found there... – Shayne Jun 08 '20 at 15:51
  • Thank you!! it works !! – Daniel Gualteros Jun 08 '20 at 16:08

0 Answers0