Error while print

This has been happening since the time I’m trying to print my customer’s phone number:
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/www/print.py”, line 181, in get_html_and_style
no_letterhead=no_letterhead, trigger_print=trigger_print),
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/www/print.py”, line 152, in get_html
html = template.render(args, filters={“len”: len})
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/./templates/print_formats/standard.html”, line 32, in top-level template code
{{ render_field(df, doc) }}
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/./templates/print_formats/standard_macros.html”, line 5, in template

{{ frappe.render_template(df.options, {“doc”: doc}) or “” }}

File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "

My code of phone_number:
{{ frappe.db.get_value(“Address”, doc.address, “phone”) }}

share your full template. Are you using values to send Jinja tags? Unfortunately you can’t do that…

I was able to fix it, I was calling the wrong doctype, thank you guys