Skip to content

Issue with JSON encoded args in Powershell #191

@jdetter

Description

@jdetter

From the Discord:

PS G:\GitHub\spacetime_sandbox\quickstart-chat\server> spacetime call chat-server send_message '["Hello"]'        
Error: Invalid arguments provided for reducer `send_message` for database `chat-server` resolving to address `5ebd1221afb10aaf61d6c8a527413d82`.

The reducer has the following signature:
        send_message(text: String)

Caused by:
    0: Response text: invalid arguments for reducer send_message: [0]: expected value at line 1 column 2
    1: HTTP status client error (400 Bad Request) for url (http://localhost:3000/database/call/5ebd1221afb10aaf61d6c8a527413d82/send_message)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions