REST LogAppender giving 500 and then 400 error while posting data on aws beanstalk

后端 未结 1 1513
暗喜
暗喜 2021-01-26 11:00

I have configured 3 log appenders in my zeppelin demo app. Two of them are cassandra log appenders and other one is REST log appender. Cassandra log appenders are working fine a

相关标签:
1条回答
  • 2021-01-26 11:29

    The 500 error that I was facing was due to following:

    I found two errors with my configuration of RestLogAppender in the admin panel. First, I had put http:// before my host. Had to remove the same. Second, I should have mentioned Relative URI path starting and ending with a forward slash /.

    After resolving 500 error, I was still getting 400 error. It was due to the following reasons:

    I had given slightly different names to the JSON fields in the Django models. The sequence of the fields did not matter but the name of fields did matter.

    0 讨论(0)
提交回复
热议问题