-1

enter image description here

Getting error in scala rest API while passing Seq[] in response. And when I remove Seq it works fine. Thank You

Samual
  • 67
  • 9

1 Answers1

1

Maybe you need to check 1) if you have your own proper formatters for objects you have in your sequence. 2) And to check if you have play(or spray, or whatever you use to marshall and unmarshall) imported in your controller

maybe you need something like this on your controller layer

import de.heikoseeberger.akkahttpplayjson.PlayJsonSupport._