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

Better Feedback than "X errors" from POST. #8

Open
Crashthatch opened this issue Oct 26, 2014 · 3 comments
Open

Better Feedback than "X errors" from POST. #8

Crashthatch opened this issue Oct 26, 2014 · 3 comments

Comments

@Crashthatch
Copy link

At the moment, I can do a POST to add / update records, and get response:

array(6) {
  ["By RowIdentifier"]=>
  int(0)
  ["Rows Updated"]=>
  int(0)
  ["Rows Deleted"]=>
  int(0)
  ["Rows Created"]=>
  int(0)
  ["Errors"]=>
  int(10)
  ["By SID"]=>
  int(0)
}

But there is no way to see what the errors were, and why it failed. This makes debugging almost impossible as I have no idea what is wrong.

This is really a problem with the underlying API, not the SODA-PHP wrapper, but I couldn't find a Github repo for that.

@markowen
Copy link

👍

@WebUnknown
Copy link

👍

Crashthatch added a commit to BathHacked/bath-houseprice-formatter that referenced this issue Oct 26, 2014
Still doesn't work: I get back "errors: 10" but no indication of what the error is. Awaiting progress on this issue before I can debug further: socrata/soda-php#8
@chrismetcalf
Copy link
Contributor

Awesome feedback @Crashthatch, I do agree that that's a pretty sucky experience.

I believe a method to get more details on those is on our engineering roadmap, and I can see if I can get an update on that. I can't guarantee you a fix super soon, but I'll see what I can do.

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

4 participants