Problem authenticating fcl transaction

I am attempting to sign a transaction that initializes a user’s account on my next.js site.

fcl.transactionTRANSACTION,
fcl.args([fcl.arg(user.addr, t.Address)]),
fcl.proposer(fcl.authz),
fcl.payer(fcl.authz),
fcl.authorizations([fcl.authz]),
fcl.limit(50)
]);

I am receiving this error:

Unhandled Runtime Error

Error: Declined: User rejected signature

Call Stack
eval

node_modules/@onflow/fcl/dist/fcl.module.js (1:20867)

Am I not authenticating the transaction properly? Do I have to write my own authorization function (If so how would I do that)?

I would appreciate any guidance.

Thanks!

I changed it to:
fcl.args([fcl.arg(user.addr, t.Address)]),
fcl.proposer(user.authorization),
fcl.payer(fetchProfile(“0x36dec30520f41e9d”).authorization),
fcl.authorizations([user.authorization]),
fcl.limit(50)

and now I’m getting:

Unhandled Runtime Error

TypeError: Cannot read property ‘padStart’ of null

Call Stack
eval

node_modules/@onflow/send/dist/send.module.js (1:4994)

Nevermind I was accidentally calling the transaction a bunch of times so it thought it was malicious!

Double never mind it still thinks it is a malicious request.

Hi @zach8302, I am getting same issue in the testnet, did you resolve it?