My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Categories
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
SKY Developer
SKY Developer General Discussions
Education Management APIs
API Post Attendance Single Body Error
Neal Busch
Using API Post Attendance Single using the provided PHP example
The call returns:
status: 400
body: {"errors":[{"message":"Request body was not valid.","error_code":-2146233088,"error_name":"Request body was not valid.","raw_message":""}]}
Any help in resolving this issue is appreciated.
Neal
Find more posts tagged with
Comments
Evan York
Hi Neal,
The example given is just a sample; you'll need valid user_id & dates that are compatible with your environment for it to work. If you continue to see errors I recommend for you to log a ticket at
https://support.blackbaud.com
.
Thanks,
Evan
Neal Busch
The problem was resolved by changing the getBody code to
$request->setBody(json_encode($parameters));
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of