AnsweredAssumed Answered

Snapshot Flat File API using PHP Curl

Question asked by rs0048203 on Jun 5, 2018
Latest reply on Jun 29, 2018 by eric.ng

I have successfully tried: https://help.blackboard.com/Learn/Administrator/Hosting/System_Integration/SIS/SIS_Integration_Types/Snapshot_Flat_File

curl -k -w %{http_code} -H "Content-Type:text/plain" -u SHARED_USERNAME:SHARED_PASSWORD --data-binary @PATH_TO_TEST_FILE ENDPOINT_URL

But, using (version 7) PHP  Curl  - seeing (due to an echo statement):

Server response: Success: Feed File Uploaded. Use the reference code 953247a300af4e9eb87fdeb82c3848ca to track these records in the logs. Curl Error:

With SIS Log:

 

Jun 05, 2018 08:21:02 AM - Error while parsing Snapshot Feed File - java.lang.NullPointerException
  at blackboard.dataintegration.flatfile.parser.FlatFileParser.parse(FlatFileParser.java:112)
  at blackboard.dataintegration.flatfile.queue.FlatFileMessageQueueHandler.onMessage(FlatFileMessageQueueHandler.java:179)
  at blackboard.platform.messagequeue.impl.activemq.ActiveMQMessageQueueConsumer$ConsumerThread.run(ActiveMQMessageQueueConsumer.java:194)

Outcomes