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

Strange error in POST requests #231

Open
pedrovinicius opened this issue Sep 11, 2015 · 2 comments
Open

Strange error in POST requests #231

pedrovinicius opened this issue Sep 11, 2015 · 2 comments

Comments

@pedrovinicius
Copy link

I'm following a tutorial teaching how to create an API with Napa, but when I do Post requests, the following error (that I can't understand) is generated:

TypeError at /contacts
compared with non class/module

Ruby    /home/pedro/.rvm/gems/ruby-2.0.0-p481@global/gems/grape-0.13.0/lib/grape/validations/validators/coerce.rb: in >=, line 35
Web POST localhost/contacts

This seems to be related with the grape gem. Anybody can help me please?

@umtrey
Copy link
Contributor

umtrey commented Sep 11, 2015

Hi @pedrovinicius! Where is the tutorial and what step are you on? We can try to dig in with you a little bit.

@pedrovinicius pedrovinicius changed the title Error raising in post requests Strange error in POST requests Sep 11, 2015
@pedrovinicius
Copy link
Author

Hi @umtrey !
Thanks for the reply 😃

This is the tutorial that I spoke in my post:
http://www.sitepoint.com/build-apis-with-napa/?utm_source=rubyweekly&utm_medium=email

I'm in step "Firing Some Requests". The previous steps I successfully concluded.

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

2 participants