Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Canvas 应用程序成功调用了 REST API,在 Monitor 日志中我可以看到响应包含我期望的数据。但是,应用程序分配响应的变量(通过 UpdateContext 命令)不包含数据。这可能是什么原因造成的?
我弄清楚了这个问题。在我导入的 Postman 集合中定义的响应对象的字段名称以小写形式列出,但实际响应是大写的。我的 Canvas 应用程序无法解析数据,因为字段名称区分大小写。我通过转到自定义连接器的编辑页面、启用 Swagger 编辑器并更新字段名称来解决此问题。