Not able to create item from bw cli

Writing a function to quickly create command line passwords and I’m hitting a bit of an issue.

[[email protected] ~]$ bwc test valon testpi
{“organizationId”:null,“folderId”:“SSH”,“type”:1,“name”:“test”,“notes”:“test”,“favorite”:false,“fields”:[],“login”:“valon”,“secureNote”:null,“card”:null,“identity”:null}
An unhandled server error has occurred.
[[email protected] ~]$ type bwc
bwc is a function
bwc ()
{
NAME=$1;
LOGIN=$2;
PASS=$3;
if [ “$4” != ‘’ ]; then
FOLDER=$4;
else
FOLDER=‘SSH’;
fi;
JSON="{\“organizationId\”:null,\“folderId\”:\"${FOLDER}\",\“type\”:1,\“name\”:\"${NAME}\",\“notes\”:\“test\”,\“favorite\”:false,\“fields\”:[],\“login\”:\"${LOGIN}\",\“secureNote\”:null,\“card\”:null,\“identity\”:null}";
echo “$JSON”;
echo “$JSON” | bw encode | bw create item
}

Error from bitwarden-api container

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = “Post”, controller = “Ciphers”}. Executing controller action with signature System.Threading.Tasks.Task1[Bit.Core.Models.Api.CipherResponseModel] Post(Bit.Core.Models.Api.CipherRequestModel) on controller Bit.Api.Controllers.CiphersController (Api). fail: Bit.Api.Utilities.ExceptionHandlerFilterAttribute[0] Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID) at System.Guid.TryParseExactN(ReadOnlySpan1 guidString, GuidResult& result)
at System.Guid.TryParseGuid(ReadOnlySpan1 guidString, GuidResult& result) at System.Guid..ctor(String g) at Bit.Core.Models.Api.CipherRequestModel.ToCipherDetails(CipherDetails existingCipher) in /home/runner/work/server/server/src/Core/Models/Api/Request/CipherRequestModel.cs:line 60 at Bit.Core.Models.Api.CipherRequestModel.ToCipherDetails(Guid userId, Boolean allowOrgIdSet) in /home/runner/work/server/server/src/Core/Models/Api/Request/CipherRequestModel.cs:line 55 at Bit.Api.Controllers.CiphersController.Post(CipherRequestModel model) in /home/runner/work/server/server/src/Api/Controllers/CiphersController.cs:line 110 at lambda_method(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
— End of stack trace from previous location where exception was thrown —
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type ‘Bit.Core.Models.Api.ErrorResponseModel’.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Executed action Bit.Api.Controllers.CiphersController.Post (Api) in 405.4183ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint ‘Bit.Api.Controllers.CiphersController.Post (Api)’
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 422.3451ms 500 application/json; charset=utf-8

Anyone have any ideas on why this is happening/how to fix it?