Forum Discussion

MattMakris's avatar
MattMakris
Qrew Cadet
2 years ago

Help with Pipelines error: "Unknown format code 'f' for object of type 'str'"

I'm getting an error on a pipeline. Any idea how to resolve this and what the specific issue is? 

Validation error: Incorrect template "The AP Program has changed from <b style='color:#f00;'>{{a.$prev.seo_program_name}}</b> ({{"${:,.2f}".format(a.$prev.quickbooks_invoice_grand_total)}}) to <b style='color:#00691c;'>{{a.seo_program_name}}</b> ({{"${:,.2f}".format(a.quickbooks_invoice_grand_total)}}). This is a cost difference of {{"${:,.2f}".format(a.quickbooks_invoice_grand_total-a.$prev.quickbooks_invoice_grand_total)}} ({{'%0.1f'| format(((a.quickbooks_invoice_grand_total-a.$prev.quickbooks_invoice_grand_total)/a.$prev.quickbooks_invoice_grand_total)*100|float)}}%)". ValueError: Unknown format code 'f' for object of type 'str'



------------------------------
Matt Makris
------------------------------
No RepliesBe the first to reply